Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
Home | Book List | Contents | Index | Master Index | Feedback

# SetPinOption Method

Applies To

ORef

Description

Sets the Pin option for the referenceable object during the pin operation.

Usage

void SetPinOption(int option) const throw(OException)

Arguments

option | Possible values are: OREF_READ_ANY (3) If the object is already in the object cache return it, otherwise, retrieve it from the database. This is the default value. OREF_READ_RECENT (4) If the object is retrieved into the cache during a transaction, return it from the cache, otherwise retrieve the object from the database. OREF_READ_LATEST (5) Always retrieve the latest values from the database.

See Also

GetPinOption Method